<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title><s:text name="application.title" /></title>
<link href="<s:url value="/css/main.css"/>" rel="stylesheet"
	type="text/css" />
</head>

<body>
	<h1>
		<s:text name="application.title" />
	</h1>
	<div class="contenido">
		<p class="rojo">
			<s:text name="cliente.edit.identificador" />
		</p>
		<s:form action="modificarCliente" method="POST" theme="simple">
			<table class="tabla-editar-cliente">
				<tr>
					<td><s:text name="dni" />:</td>
					<td><s:textfield name="cliente.dni" readonly="true"/></td>
				</tr>
				<tr>
					<td><s:text name="nombre" />:</td>
					<td><s:textfield name="cliente.nombre" /></td>
				</tr>
				<tr>
					<td><s:text name="direccion" />:</td>
					<td><s:textfield name="cliente.direccion" /></td>
				</tr>
				<tr>
					<td><s:text name="email" />:</td>
					<td><s:textfield name="cliente.email" /></td>
				</tr>
			</table>
			<s:submit value="%{getText('guardar')}" />
			<button type="button" onclick="window.location.href='<s:url action='cliente'/>';"><s:text name="cancelar" /></button>
		</s:form>
	</div>
</body>
</html>
